home *** CD-ROM | disk | FTP | other *** search
- Path: news.sunquest.com!kitk!kitk
- From: kitk@mudshark.sunquest.com (Kit Kauffmann)
- Newsgroups: comp.lang.c++
- Subject: Re: Help in calling Dos...
- Date: Thu, 18 Jan 1996 12:52:36
- Organization: Sunquest
- Message-ID: <kitk.2068.000CE0CE@mudshark.sunquest.com>
- References: <177126FE7S85.UZS7FC@ibm.rhrz.uni-bonn.de>
- NNTP-Posting-Host: kkauffma.sunquest.com
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
-
- In article <177126FE7S85.UZS7FC@ibm.rhrz.uni-bonn.de> UZS7FC@ibm.rhrz.uni-bonn.de (Michael Kuesters) writes:
- >From: UZS7FC@ibm.rhrz.uni-bonn.de (Michael Kuesters)
- >Subject: Help in calling Dos...
- >Date: Thu, 18 Jan 96 07:57:27 MEZ
-
- >
- >I need help calling a Dos .exe or .com file directly from my program. If I
- >want to make a small shell, I would need to figure how to have my program start
- >the user-choice program.
- >Other thing: suppose I'd want to codeprotect some of my stuff. I wrote a code
- >"please enter password" (real simple, I know) and check it out already, but how
- >would I append it to my exe so that it would run afterwards?
- >
- >
-
- Perhaps I've misunderstood, but don't you want a Windows program (where you
- validate the password) which then invokes the DOS pgm via WinExec(
- "command.com your.exe) - using command to actually run the DOS.EXE
-
- HTH!
-
-
- Kit Kauffmann - kitk@mudshark.sunquest.com
- AKA 73363,447 (Compu$erve)
-
- Finger me for my public key
-